package com.kancy.delay.queue.redis.handler;

import com.kancy.delay.queue.redis.message.DelayMessage;

/**
 * <p>
 * DelayQueueMessageHandler
 * <p>
 *
 * @author: kancy
 * @date: 2020/3/4 19:24
 **/

public interface DelayQueueMessageHandler<T extends DelayMessage> {
    /**
     * 处理延迟消息
     * @param delayMessage
     */
    void process(T delayMessage);
}
